﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortObjectsView_Departments
/// </summary>
public class SortObjectsView_Departments : IComparer<View_Departments>
{
    public int Compare(View_Departments vd1, View_Departments vd2)
    {
        return (vd1.DepID < vd2.DepID) ? 1 : ((vd1.DepID > vd2.DepID) ? -1 : 0);
    }
}